package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 合同_物料表
 * </p>
 *
 * @author Webgasd
 * @since 2020-09-06
 */
@TableName("CONTRACT_MAT")
public class ContractMat extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 合同_物料ID
     */
    @TableId("CON_MAT_DBID")
    private String conMatDbid;

    /**
     * 合同ID
     */
    @TableField("CONT_DBID")
    private String contDbid;

    /**
     * 物料表ID
     */
    @TableField("MAT_DBID")
    private String matDbid;

    /**
     * CM物料编码
     */
    @TableField("CM_MAT_CODE")
    private String cmMatCode;

    /**
     * CM物料名称
     */
    @TableField("CM_MAT_NAME")
    private String cmMatName;

    /**
     * CM物料数量
     */
    @TableField("CM_MAT_QTY")
    private BigDecimal cmMatQty;

    /**
     * CM交货期
     */
    @TableField("CM_DELIVERY_DATE")
    private Date cmDeliveryDate;

    /**
     * CM价格设定
     */
    @TableField("CM_SET_PRICE")
    private BigDecimal cmSetPrice;

    /**
     * CM份额分配
     */
    @TableField("CM_SET_PERCENTAGE")
    private BigDecimal cmSetPercentage;

    /**
     * CM质量负责条件
     */
    @TableField("CM_QLT_RESPONSE_CONDITION")
    private String cmQltResponseCondition;

    /**
     * CM质保期（月）
     */
    @TableField("CM_GUARANTEE_PERIOD")
    private Integer cmGuaranteePeriod;

    /**
     * CM占比
     */
    @TableField("CM_PROPORTION")
    private BigDecimal cmProportion;

    /**
     * CM备注
     */
    @TableField("CM_REMAKE")
    private String cmRemake;

    /**
     * CM机构ID
     */
    @TableField("CM_ORGID")
    private String cmOrgid;

    /**
     * CM创建人
     */
    @TableField("CM_CREATE_USER")
    private String cmCreateUser;

    /**
     * CM创建时间
     */
    @TableField("CM_CREATE_TIME")
    private Date cmCreateTime;

    /**
     * CM修改人
     */
    @TableField("CM_UPDATE_USER")
    private String cmUpdateUser;

    /**
     * CM修改时间
     */
    @TableField("CM_UPDATE_TIME")
    private Date cmUpdateTime;

    public String getConMatDbid() {
        return conMatDbid;
    }

    public void setConMatDbid(String conMatDbid) {
        this.conMatDbid = conMatDbid;
    }
    public String getContDbid() {
        return contDbid;
    }

    public void setContDbid(String contDbid) {
        this.contDbid = contDbid;
    }
    public String getMatDbid() {
        return matDbid;
    }

    public void setMatDbid(String matDbid) {
        this.matDbid = matDbid;
    }
    public String getCmMatCode() {
        return cmMatCode;
    }

    public void setCmMatCode(String cmMatCode) {
        this.cmMatCode = cmMatCode;
    }
    public String getCmMatName() {
        return cmMatName;
    }

    public void setCmMatName(String cmMatName) {
        this.cmMatName = cmMatName;
    }
    public BigDecimal getCmMatQty() {
        return cmMatQty;
    }

    public void setCmMatQty(BigDecimal cmMatQty) {
        this.cmMatQty = cmMatQty;
    }
    public Date getCmDeliveryDate() {
        return cmDeliveryDate;
    }

    public void setCmDeliveryDate(Date cmDeliveryDate) {
        this.cmDeliveryDate = cmDeliveryDate;
    }
    public BigDecimal getCmSetPrice() {
        return cmSetPrice;
    }

    public void setCmSetPrice(BigDecimal cmSetPrice) {
        this.cmSetPrice = cmSetPrice;
    }
    public BigDecimal getCmSetPercentage() {
        return cmSetPercentage;
    }

    public void setCmSetPercentage(BigDecimal cmSetPercentage) {
        this.cmSetPercentage = cmSetPercentage;
    }
    public String getCmQltResponseCondition() {
        return cmQltResponseCondition;
    }

    public void setCmQltResponseCondition(String cmQltResponseCondition) {
        this.cmQltResponseCondition = cmQltResponseCondition;
    }
    public Integer getCmGuaranteePeriod() {
        return cmGuaranteePeriod;
    }

    public void setCmGuaranteePeriod(Integer cmGuaranteePeriod) {
        this.cmGuaranteePeriod = cmGuaranteePeriod;
    }
    public BigDecimal getCmProportion() {
        return cmProportion;
    }

    public void setCmProportion(BigDecimal cmProportion) {
        this.cmProportion = cmProportion;
    }
    public String getCmRemake() {
        return cmRemake;
    }

    public void setCmRemake(String cmRemake) {
        this.cmRemake = cmRemake;
    }
    public String getCmOrgid() {
        return cmOrgid;
    }

    public void setCmOrgid(String cmOrgid) {
        this.cmOrgid = cmOrgid;
    }
    public String getCmCreateUser() {
        return cmCreateUser;
    }

    public void setCmCreateUser(String cmCreateUser) {
        this.cmCreateUser = cmCreateUser;
    }
    public Date getCmCreateTime() {
        return cmCreateTime;
    }

    public void setCmCreateTime(Date cmCreateTime) {
        this.cmCreateTime = cmCreateTime;
    }
    public String getCmUpdateUser() {
        return cmUpdateUser;
    }

    public void setCmUpdateUser(String cmUpdateUser) {
        this.cmUpdateUser = cmUpdateUser;
    }
    public Date getCmUpdateTime() {
        return cmUpdateTime;
    }

    public void setCmUpdateTime(Date cmUpdateTime) {
        this.cmUpdateTime = cmUpdateTime;
    }

    @Override
    public String toString() {
        return "ContractMat{" +
            "conMatDbid=" + conMatDbid +
            ", contDbid=" + contDbid +
            ", matDbid=" + matDbid +
            ", cmMatCode=" + cmMatCode +
            ", cmMatName=" + cmMatName +
            ", cmMatQty=" + cmMatQty +
            ", cmDeliveryDate=" + cmDeliveryDate +
            ", cmSetPrice=" + cmSetPrice +
            ", cmSetPercentage=" + cmSetPercentage +
            ", cmQltResponseCondition=" + cmQltResponseCondition +
            ", cmGuaranteePeriod=" + cmGuaranteePeriod +
            ", cmProportion=" + cmProportion +
            ", cmRemake=" + cmRemake +
            ", cmOrgid=" + cmOrgid +
            ", cmCreateUser=" + cmCreateUser +
            ", cmCreateTime=" + cmCreateTime +
            ", cmUpdateUser=" + cmUpdateUser +
            ", cmUpdateTime=" + cmUpdateTime +
        "}";
    }
}
